﻿namespace Dcms.IDAL
{
    using Dcms.Model;
    using System;
    using System.Collections.Generic;
    using System.Data;

    public interface IDcms_ModelFieldDAL
    {
        Dcms_ModelFieldModel AddModel(Dcms_ModelFieldModel model);
        bool CopyDefaultModelByModel(string strModel, int intModelKeyId);
        void DeleteModelByID(int ID);
        void DeleteModelByModelAndModelKeyID(string mf_Model, int mf_ModelKeyID);
        Dcms_ModelFieldModel GetModelByID(int ID);
        DataSet GetModelKeyByModel(string strModel);
        IList<Dcms_ModelFieldModel> GetModelList();
        IList<Dcms_ModelFieldModel> GetModelListByModelAndModelKeyID(string mf_Model, int mf_ModelKeyID);
        DataSet GetModels();
        IList<Dcms_ModelFieldModel> GetShowModelListByModelAndModelKeyID(string mf_Model, int mf_ModelKeyID);
        Dcms_ModelFieldModel Update(Dcms_ModelFieldModel model);
    }
}

